package com.jingwu.example.service;

import org.springframework.stereotype.Service;

@Service
public class AnswerService {

    public void add(Integer i, Integer j) {
        int k = i + j;
        Integer result = doSomething(k);
        System.out.println("result = " + result);
    }

    public Integer doSomething(Integer num) {
        System.out.println("num = " + num);
        return num + 1;
    }

}
